package org.apache.ocean;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

/**
 *
 * @author jasonr
 */
public class SearchResult {
  public List<CScoreDoc> docs;
  public CLong numFound;
  public IndexSchema indexSchema;
  
  public SearchResult(List<CScoreDoc> docs, CLong numFound, IndexSchema indexSchema) {
    this.docs = docs;
    this.numFound = numFound;
    this.indexSchema = indexSchema;
  }
  
  public String toString() {
  	return ReflectionToStringBuilder.toString(this);
  }
}
